You are unauthorized to access this resource

Rejected Fulfillment from ParcelNinja

Issue:

Stock2Shop attempted to create a fulfillment but was rejected by Parcelninja.

Applies to:

parcelninja

Solution:

This error results from Stock2Shop being provided with incorrect Parcelninja API keys. Correct keys would need to be provided to Stock2Shop or created by following these steps:

  • In Parcelninja, navigate to User Management.
  • Scroll down to API Keys > Add Key.
  • Set the description to Stock2Shop.
  • Select all the roles, except for (View Virtual / Update Virtual / Delete Virtual).
  • Click Add Key.
  • Copy the API Username and Password, and send them to Stock2Shop.