Website

Primary Market errors

Last update: 9.01.2024

Primary Market errors

These errors happen when something's wrong with the publication request. Below you can find the most common situations and their respective solutions.

Cannot publish an investment ad because of the account type

When a client tries to activate an advert and the notification received in your webhook is the following error:

		JSON

{
  "destination": "http://webhooks.dev.eu-central-1.mercury.olx.org/a5607da9-8c87-4bf1-867b-52c2ad4bc930",
  "timestamp": 1594314221436,
  "event_timestamp": 1594314221436,
  "transaction_id": "6786b98a-9a63-4dd9-8404-4c040e7a1801",
  "object_id": "5d4b5cec-b613-4e2b-a23a-77412ea679a2",
  "flow": "publish_advert",
  "error_message": "Only Developer accounts can add Investments.",
  "data": {
    "detail": "Only Developer accounts can add Investments.",
    "title": "ForbiddenException",
    "validation": null
  },
  "event_type": "advert_posted_error"
}			
		
Copied to clipboard
Solution

The client account does not allow them to publish investment adverts. Only developers can publish Investments.
If the client wants to publish those types of adverts, they should contact directly their account manager.