D
D
de_iiah_teji9_iiace2018-07-02 16:08:00
Django
de_iiah_teji9_iiace, 2018-07-02 16:08:00

INFO:paypalrestsdk.api:Response[401]: Unauthorized?

when I create an invoice for paypal and send it, I get the following server log

INFO:paypalrestsdk.api:Request[POST]: https://api.sandbox.paypal.com/v1/oauth2/token
INFO:paypalrestsdk.api:Response[200]: OK, Duration: 1.156739s.
INFO:paypalrestsdk.api:PayPal-Request-Id: 660f7807-961f-4460-bafd-18412b489a91
INFO:paypalrestsdk.api:Request[POST]: https://api.sandbox.paypal.com/v1/invoicing/invoices
INFO:paypalrestsdk.api:Response[401]: Unauthorized, Duration: 1.213655s.
INFO:paypalrestsdk.api:Request[POST]: https://api.sandbox.paypal.com/v1/oauth2/token
INFO:paypalrestsdk.api:Response[200]: OK, Duration: 1.53491s.
INFO:paypalrestsdk.api:PayPal-Request-Id: 660f7807-961f-4460-bafd-18412b489a91
INFO:paypalrestsdk.api:Request[POST]: https://api.sandbox.paypal.com/v1/invoicing/invoices
INFO:paypalrestsdk.api:Response[401]: Unauthorized, Duration: 1.184393s.
INFO:paypalrestsdk.api:Request[POST]: https://api.sandbox.paypal.com/v1/oauth2/token
INFO:paypalrestsdk.api:Response[200]: OK, Duration: 0.970890s.
INFO:paypalrestsdk.api:PayPal-Request-Id: 660f7807-961f-4460-bafd-18412b489a91
INFO:paypalrestsdk.api:Request[POST]: https://api.sandbox.paypal.com/v1/invoicing/invoices
INFO:paypalrestsdk.api:Response[401]: Unauthorized, Duration: 1.234307s.
INFO:paypalrestsdk.api:Request[POST]: https://api.sandbox.paypal.com/v1/oauth2/token
INFO:paypalrestsdk.api:Response[200]: OK, Duration: 0.954390s.
INFO:paypalrestsdk.api:PayPal-Request-Id: 660f7807-961f-4460-bafd-18412b489a91
INFO:paypalrestsdk.api:Request[POST]: https://api.sandbox.paypal.com/v1/invoicing/invoices
INFO:paypalrestsdk.api:Response[401]: Unauthorized, Duration: 1.29920s.
INFO:paypalrestsdk.api:Request[POST]: https://api.sandbox.paypal.com/v1/oauth2/token
INFO:paypalrestsdk.api:Response[200]: OK, Duration: 0.934918s.
INFO:paypalrestsdk.api:PayPal-Request-Id: 660f7807-961f-4460-bafd-18412b489a91
INFO:paypalrestsdk.api:Request[POST]: https://api.sandbox.paypal.com/v1/invoicing/invoices
INFO:paypalrestsdk.api:Response[401]: Unauthorized, Duration: 1.15884s.
INFO:paypalrestsdk.api:Request[POST]: https://api.sandbox.paypal.com/v1/oauth2/token
INFO:paypalrestsdk.api:Response[200]: OK, Duration: 0.906251s.
INFO:paypalrestsdk.api:PayPal-Request-Id: 660f7807-961f-4460-bafd-18412b489a91
INFO:paypalrestsdk.api:Request[POST]: https://api.sandbox.paypal.com/v1/invoicing/invoices
INFO:paypalrestsdk.api:Response[401]: Unauthorized, Duration: 1.112606s.
INFO:paypalrestsdk.api:Request[POST]: https://api.sandbox.paypal.com/v1/oauth2/token
INFO:paypalrestsdk.api:Response[200]: OK, Duration: 1.53274s.
INFO:paypalrestsdk.api:PayPal-Request-Id: 660f7807-961f-4460-bafd-18412b489a91
INFO:paypalrestsdk.api:Request[POST]: https://api.sandbox.paypal.com/v1/invoicing/invoices
INFO:paypalrestsdk.api:Response[401]: Unauthorized, Duration: 1.31102s.
INFO:paypalrestsdk.api:Request[POST]: https://api.sandbox.paypal.com/v1/oauth2/token

Plz tell me what could be wrong?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question