web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Integration with 3rd party: Invalid URI: The URI is empty error

(0) ShareShare
ReportReport
Posted on by 133

Hi experts,

I am working on 3rd party integration with D365 FO and consuming 3rd party API in D365 FO.

Integration is working fine in Development instance but the same API I am accessing in higher instance that is UAT the below error 

message I am getting.

Note: I have created batch job for integration activities and job error out with below error

I have noticed Dev instance took around 30 seconds to complete batch job (and that job is successful) but in Sandbox environment batch job

took around 2.5 min's to complete batch job(and its error out). I think might be this is the reason for below error.

pastedimage1666195908424v1.png

I have validated the same integration(API, User, password) in Dev and postman; that's working fine but in UAT I am getting above error;

pastedimage1666196103412v2.png 

Note: I have observed the batch job took around 2.5 min's to complete the job.

Please help me.

I have the same question (0)
  • Martin Dráb Profile Picture
    235,838 Most Valuable Professional on at
    RE: Integration with 3rd party: Invalid URI: The URI is empty error

    Well, if you believe that asking strangers to guess what what may be wrong in a completely unknown solution is better approach than debugging, then there is nothing I can help you with.

    My recommendation is debugging. You can configure a development environment to use the sandbox database (see Debug a copy of the production database).

  • KomalG Profile Picture
    133 on at
    RE: Integration with 3rd party: Invalid URI: The URI is empty error

    My code is working fine in dev instance but this error is in sandbox environment.

    So debugging in sandbox is a bit challenging.  

    I have noticed Dev instance took around 30 seconds to complete batch job (and that job is successful) but in Sandbox environment batch job

    took around 2.5 min's to complete batch job(and its error out). I think might be this is the reason for below error.

  • Martin Dráb Profile Picture
    235,838 Most Valuable Professional on at
    RE: Integration with 3rd party: Invalid URI: The URI is empty error

    I'm sorry, but it's impossible for us to find the bug in your code or configuration, because we know nothing about either. You'll need to either debug your code, or at least give us much more information about what you did.

    I recommend debugging - it's guaranteeed to at least tell us where the error was thrown. We could only speculate.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 708 User Group Leader

#2
Martin Dráb Profile Picture

Martin Dráb 589 Most Valuable Professional

#3
Yng Lih Profile Picture

Yng Lih 553

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans