Connect LHDN API prompt message: Unexpected response status: Internal Server Error

Created by QNE Software Sdn bhd, Modified on Tue, 20 May at 9:55 AM by QNE Software Sdn bhd

Overview: 

User to configure the LHDN API connection from Optimum Software to enable e-Invoice submission and validation 


Scenario: 

in e-Invoice setting, I have updated Client Configuration for Client ID and Client Secret, however when I click connect system prompts error: Unexpected response status: Internal Server Error 



Solution:
✅ It's possible that when setting up the company profile, users may accidentally copy and paste the ROC or TIN with hidden or invisible spaces that aren't visible on the front end but are detected in the backend. 


✅ To resolve this, re-enter the ROC and TIN manually (without copy-pasting), save the changes, and try registering and

connecting again.

 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article