Response status code 500 when create a flow with API call | Community
Skip to main content
Level 2
January 18, 2025
Question

Response status code 500 when create a flow with API call

  • January 18, 2025
  • 3 replies
  • 1107 views

I used Postman to create a dataflow (https://platform.adobe.io/data/foundation/flowservice/flows) successfully. However, when using the imported python code in databricks with the same credentials, I get a status code of 500. What could potentially be the issue on the server end? I use Databricks to make various API calls to the server and not experience any issues until now. Not sure why the same code works in Postman and not in Databricks.

 

Here is the error message.
Request failed with status code: 500 {"type":"https://ns.adobe.com/aep/errors/FLOW-1400-500","title":"Internal Error","status":500,"report":{"detailed-message":"An internal error has occurred. Please try again. If the problem persists, please contact customer support.","request-id":"PKcrlPGnGiEzQM8EXg3Jkcgy1TbrtciS"},"errorMessage":"An internal error has occurred. Please try again. If the problem persists, please contact customer support.","errorDetails":"An internal error has occurred. Please try again. If the problem persists, please contact customer support."}

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

AmitVishwakarma
Community Advisor
Community Advisor
January 19, 2025

A 500 Internal Server Error usually indicates a server-side issue. Since it works in Postman but not Databricks, check the following:

  1. Request Differences: Ensure headers, body, and authentication are the same between Databricks and Postman.
  2. Rate Limiting: Verify you’re not hitting API rate limits or quotas in Databricks.
  3. API Versioning: Confirm you’re using the correct API version in both environments.
  4. Network Issues: Check for network problems or timeouts in Databricks.
  5. Databricks Configuration: Ensure your Databricks environment is configured properly for external API calls.

If the issue persists, contact Adobe support with the request-id from the error message.

JohnYa5Author
Level 2
January 20, 2025

The call is working, I added connection: keep-alive to the headers and also had separate calls to create the source connection and target connection and then pass the ids in the create flow call.

 

TylerKrause
Adobe Champion
Adobe Champion
January 28, 2025

Maybe check your credentials/keys? If it used to work and it suddenly doesn't, it could be as simple as an expired key, or outdated project permission.

 
 
kautuk_sahni
Community Manager
Community Manager
March 5, 2025

@johnya5 Did you find the suggestions helpful? Please let us know if you need more information. If a response worked, kindly mark it as correct for posterity; alternatively, if you found a solution yourself, we’d appreciate it if you could share it with the community. Thank you!

Kautuk Sahni