Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

API

AnkitS27
Tera Contributor

API Returns 500 Internal Server Error in Production But Works in Dev.
Can anyone flag out the issue?

1 ACCEPTED SOLUTION

nityabans27
Kilo Patron

Hi @AnkitS27 ,
A 500 Internal Server Error that only happens in production but not in dev usually points to one or more of the following environment-specific issues.
Try the following to find out issue:

1. Log Issue
2. Data mismatch

3. ACL's

4. Configuration mismatch
5. Scripted REST API

6. Error handling in script

If you found my answer useful, kindly accept it as solution and mark it helpful.

Thanks and regards,
Nitya Bansal

View solution in original post

1 REPLY 1

nityabans27
Kilo Patron

Hi @AnkitS27 ,
A 500 Internal Server Error that only happens in production but not in dev usually points to one or more of the following environment-specific issues.
Try the following to find out issue:

1. Log Issue
2. Data mismatch

3. ACL's

4. Configuration mismatch
5. Scripted REST API

6. Error handling in script

If you found my answer useful, kindly accept it as solution and mark it helpful.

Thanks and regards,
Nitya Bansal