Response status code 500 when create a flow with API call
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."}