Giter VIP home page Giter VIP logo

Comments (7)

ameenross avatar ameenross commented on July 26, 2024

It's stable. The problem is that the PostNL server side is not stable because they changed more than just the auth. Check recent open issues for more info

They acknowledged the issue, so awaiting feedback.

from postnl.

PaulVanDeKamer avatar PaulVanDeKamer commented on July 26, 2024

Hallo,

Ik maak gebruik van de "oude" omgeving en zou willen overstappen naar de nieuwe.... Heb hiervoor even een "test" omgeving gemaakt maar krijg deze niet aan de gang.

PHP message: PHP Fatal error: Uncaught DivideBV\Postnl\ComplexTypes\CifException in ./Postnl/src/Postnl.php:578

Heb het vermoeden dat dit komt door de apikey of de combinate welke niet juist is maar krijg dit niet 123 boven water. Hoe kan ik checken of de gegevens welke van Postnl afkomstig zijn correct zijn?

from postnl.

ameenross avatar ameenross commented on July 26, 2024

PHP message: PHP Fatal error: Uncaught DivideBV\Postnl\ComplexTypes\CifException in ./Postnl/src/Postnl.php:578

Catch the exception and print the message. It will tell you what PostNL thought was wrong with your request.

from postnl.

PaulVanDeKamer avatar PaulVanDeKamer commented on July 26, 2024

PHP message: PHP Fatal error: Uncaught DivideBV\Postnl\ComplexTypes\CifException in ./Postnl/src/Postnl.php:578

Catch the exception and print the message. It will tell you what PostNL thought was wrong with your request.

This is the complete stacktrace:

[Wed Oct 17 15:08:55.469213 2018] [proxy_fcgi:error] [pid 32459] [client 95.97.13.114:55222] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught DivideBV\Postnl\ComplexTypes\CifException in /Postnl/src/Postnl.php:581\nStack trace:\n#0 /Postnl/src/Postnl.php(236): DivideBV\Postnl\Postnl->call('BarcodeClient', 'generateBarcode', Object(DivideBV\Postnl\ComplexTypes\GenerateBarcodeMessage))\n#1 /Postnl/src/Postnl.php(270): DivideBV\Postnl\Postnl->generateBarcode('3S', 'TXTQ', 1118824, '000000000-99999...', false)\n#2 /test.php(60): DivideBV\Postnl\Postnl->generateBarcodeByDestination('NL')\n#3 {main}\n thrown in /Postnl/src/Postnl.php on line 581\n'

I am not sure where to Catch the exeption.

In the meanwhile.... string(41) "The apikey is not authorized for this api"

from postnl.

PaulVanDeKamer avatar PaulVanDeKamer commented on July 26, 2024

In the meanwhile.... string(41) "The apikey is not authorized for this api"

from postnl.

mro95 avatar mro95 commented on July 26, 2024

In the meanwhile.... string(41) "The apikey is not authorized for this api"

So their auth server is not working yet? And they want to stop the old API server. Lekker dan...

from postnl.

Soetens avatar Soetens commented on July 26, 2024

So their auth server is not working yet? And they want to stop the old API server. Lekker dan...

Their new authentication is working for at least 4 months now. I think you use the wrong API key.
(if you did not update everything, the endpoints are also changed)

from postnl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.