Comments (7)
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.
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.
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.
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.
In the meanwhile.... string(41) "The apikey is not authorized for this api"
from postnl.
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.
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)
- Using an multi-colli HOT 3
- generate pick-up label HOT 1
- Getting all labels from an multi colli HOT 2
- Debugging HOT 1
- PostNL API (CIF) new platform (live in november 2018) HOT 3
- Errors in Confirming HOT 3
- Bug: new API GetNearestLocationsRequest HOT 13
- Undefined notices when parsing errors from webservice HOT 2
- Get warnings HOT 16
- composer require dividebv/postnl HOT 3
- Multi collo shipment not working new API HOT 11
- CN23 forms for Customs HOT 1
- Hope someone can help me out GetNearestLocations
- Error Code 13308 "Due to the COVID-19 pandemic we currently cannot ship to this destination" HOT 1
- Update of PostNL API 2020 HOT 4
- How to post a email or smsnumber of customer... HOT 1
- Support for PHP 8 HOT 3
- GB is not EU anymore, please remove GB from PostNL->countryCodeMapping HOT 1
- HR is in EU, but not in countryCodeMapping variable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postnl.