Troubleshooting (Pricefx Code)

Known Issues

TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined

Description: Empty files are not allowed to be displayed.

Solution: Deploy the file with an empty object if it is JSON and comment if JS.

Error: Version conflict: newer version exists

Description: If the deploy function is called multiple times before the previous deployment is completed, or if the advanced configuration file is changed in the Pricefx application but not in Pricefx Code, there is a version conflict.

Solution: Avoid running the deploy function multiple times simultaneously. If the error persists, fetch the file again to ensure that there are no conflicts between file versions. This will ensure that the latest configuration is correctly synchronized between the Pricefx application and Pricefx Code.

 

Found an issue in documentation? Write to us.