App panel Dev, Oops! Something went wrong, Unsure what


I’m trying to add an app panel to my app in the deal details view. However, It doesn’t seem to wanna load.
I get error below. With response: {“success”:false,“error”:“Failed to fetch panel data”}

I added all the requirements as it works in postman with basic auth. And a test JSON structure with some hardcoded data.

This is the data it should receive

Unsure if I missed a step or if something is wrong with the data or the JSON structure.

Also here is the code I’m testing with, which works in postman.

Best Regards,
Vidar Asp Johansson