Skip to main content
Solved

Incorrect $metadata url in oData responses

  • October 17, 2022
  • 1 reply
  • 81 views

AndreKemmeren
Captain
Forum|alt.badge.img+3

We are trying to use the oData endpoints to make some PowerBi integrations. We are running into an issue with the $metadata URL.

 

When we call the oData endpoint for any entity ( https://<domain>/indicium/iam/<project>/<entity> ) we get the data back and the $metadata URL (which is required for PowerBI to function). The $metadata URL is incorrect however: https://<domain>/iam/<project>/$metadata#<entity>

The /indicium/ is missing in this URL, if I manually add that to the URL it is working ( https://<domain>/indicium/iam/<project>/$metadata#<entity> )

This same (erroneous?) behavior is written in the docs: OData API | Thinkwise Documentation (thinkwisesoftware.com)


Some environment details:

  • Running in Azure App Service
  • No reverse proxy

Best answer by Vincent Doppenberg

Hello Andre,

You are right, the @odata.context metadata URL is incorrect whenever the root URL of Indicium contains an additional segment like /indicium. We will be fixing this in our current sprint, which means that the fix will be released around November 11th.

Thank you for bringing this to our attention.

This topic has been closed for replies.

1 reply

Forum|alt.badge.img+4

Hello Andre,

You are right, the @odata.context metadata URL is incorrect whenever the root URL of Indicium contains an additional segment like /indicium. We will be fixing this in our current sprint, which means that the fix will be released around November 11th.

Thank you for bringing this to our attention.