Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

401 Unauthorized /invoices/reporting/single #42

Open
jawadzahoor72 opened this issue Jun 16, 2023 · 7 comments
Open

401 Unauthorized /invoices/reporting/single #42

jawadzahoor72 opened this issue Jun 16, 2023 · 7 comments

Comments

@jawadzahoor72
Copy link

Hi,
I am using sandbox account and testing apis using postman
https://gw-fatoora.zatca.gov.sa/e-invoicing/developer-portal/compliance this API is working fine with CSR in body and gives me successful response including requestID,binarySecurityToken,secret and etc

now when I am trying to use
https://gw-fatoora.zatca.gov.sa/e-invoicing/developer-portal/invoices/reporting/single
binarySecurityToken as Username in Basic Auth
secret as Password in Basic Auth

response is 401 Unauthorized

@fuadhasni
Copy link

fuadhasni commented Jun 24, 2023 via email

@jawadzahoor72
Copy link
Author

@fuadhasni
thanks

@tifa-show
Copy link

Hi,
I'm trying to call the reporting API from the simulation environment put also give me 401 unauthorized too. please help me

@fuadhasni
Copy link

fuadhasni commented Jul 12, 2023 via email

@wasimriaz
Copy link

wasimriaz commented Dec 30, 2023

Hi Fuadhasni,
From https://gw-apic-gov.gazt.gov.sa/e-invoicing/developer-portal'
I am able to call 'compliance' api and then able to call 'compliance/invoices' for compliance checks.

From https://gw-fatoora.zatca.gov.sa/e-invoice/developer-portal'
I am able to call 'compliance' api BUT am not able to call 'compliance/invoices' API. I get the message 'Unauthorized'.
Can you guide me what can be wrong ?

@fuadhasni
Copy link

fuadhasni commented Dec 31, 2023 via email

@wasimriaz
Copy link

wasimriaz commented Jan 2, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants