sentry-react-native icon indicating copy to clipboard operation
sentry-react-native copied to clipboard

build failed in iOS on fastlane

Open Mamdouh-Symbyo opened this issue 8 years ago • 6 comments

OS: MacOS

Platform: iOS


I have following issue:

build and archive success in local, but with fail in fastlane give me this error:

error: API request failed
  caused by: sentry reported an error: request failure (http status: 500)
  Object({"detail": String("Internal Error"), "errorId": String("21cdb0e2bf7e4ceca785c69a4e370d35")})

** ARCHIVE FAILED **

any help please

Mamdouh-Symbyo avatar Sep 18 '18 18:09 Mamdouh-Symbyo

Same issue here. Had to disable sentry's upload to api scripts temporarily to be able to publish.

nicholasc avatar Sep 27 '18 19:09 nicholasc

Hey, this is an issue on our side. Your bundleId is too long, we only support 64 chars for now.

I know it's a shitty workaround for now, but you can try to delete you Info.plist file of you project or changing the bundleId in it before uploading symbols to Sentry. This will fix it for now until we fixes it on our end.

HazAT avatar Sep 28 '18 07:09 HazAT

Same issue on Circle CI, Fastlane iOS ▸ error: API request failed INFO [2018-12-11 03:33:15.08]: ▸ caused by: sentry reported an error: unknown error (http status: 502)

ghost avatar Dec 13 '18 08:12 ghost

@HazAT I have the same issue but, i found, retry it, next time is success

// first time
[10:36:12]: error: API request failed
[10:36:12]: caused by: sentry reported an error: request failure (http status: 500)
[10:36:12]: Object({"detail": String("Internal Error"), "errorId": String("c33be49c85054a3ca4cebf21b3dab87e")})
// second time
[10:38:39]: --------------------------------
[10:38:39]: --- Step: sentry_upload_dsym ---
[10:38:39]: --------------------------------
[10:38:39]: sentry-cli 1.37.0 installed!
[10:38:39]: Starting sentry-cli...
[10:39:55]: > Found 78 debug information files
[10:39:55]: > Prepared debug information files for upload
[10:39:55]: > Nothing to upload, all files are on the server
[10:39:55]: > No new debug symbols to associate.
[10:39:55]: Successfully uploaded dSYMs!

so, can we add a parameter 'retryCount' to do?

thank you

cdoky avatar Dec 16 '18 02:12 cdoky

I am closing all old issues, please if this is still a problem feel free to revive it. Also, consider moving to our new SDK @sentry/react-native if it still happens there please open a new issue.

HazAT avatar Sep 04 '19 13:09 HazAT

I had the same issue with "sentry-expo", once i removed it, build pass on Fastlane

araymond11 avatar Jul 21 '22 18:07 araymond11