{"id":18117,"date":"2021-08-02T17:31:00","date_gmt":"2021-08-02T16:31:00","guid":{"rendered":"https:\/\/developers.primaverabss.com\/en\/questions\/forbidden-ao-criar-costumer-invoices-api\/"},"modified":"2021-08-04T09:34:12","modified_gmt":"2021-08-04T08:34:12","slug":"forbidden-ao-criar-costumer-invoices-api","status":"publish","type":"cma_thread","link":"https:\/\/developers.ila.cegid.com\/en\/forum\/forbidden-ao-criar-costumer-invoices-api\/","title":{"rendered":"Forbidden ao criar costumer\/ invoices API"},"content":{"rendered":"<p>Boa tarde,<\/p>\n<p>Ao criar uma fatura ou costumer pela vossa API estou a obter o seguinte erro:<\/p>\n<p>&nbsp;<\/p>\n<p>{ &#8220;message&#8221;: &#8220;Operation returned unexpected status code &#8216;Forbidden&#8217;: &#8216;{\\r\\n \\&#8221;message\\&#8221;: \\&#8221;You are not allowed to manage the specified subscription.\\&#8221;\\r\\n}&#8217;.&#8221;, &#8220;%CORRELATIONID%&#8221;: &#8220;8b410528-a8f7-4d10-8aca-0dc47015a95d&#8221;, &#8220;%SOURCE%&#8221;: &#8220;UnhandledExceptionFilterAttribute&#8221; }<\/p>\n<p>&nbsp;<\/p>\n<p>J\u00e1 confirmei todas as keys e parece-me tudo bem. Alguma ideia? Obrigado. Cumprimentos,<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Boa tarde, Ao criar uma fatura ou costumer pela vossa API estou a obter o seguinte erro: &nbsp; { &#8220;message&#8221;: &#8220;Operation returned unexpected status code &#8216;Forbidden&#8217;: &#8216;{\\r\\n \\&#8221;message\\&#8221;: \\&#8221;You are not allowed to manage the specified subscription.\\&#8221;\\r\\n}&#8217;.&#8221;, &#8220;%CORRELATIONID%&#8221;: &#8220;8b410528-a8f7-4d10-8aca-0dc47015a95d&#8221;, &#8220;%SOURCE%&#8221;: &#8220;UnhandledExceptionFilterAttribute&#8221; } &nbsp; J\u00e1 confirmei todas as keys e parece-me tudo bem. Alguma ideia? Obrigado. [&hellip;]<\/p>\n","protected":false},"author":492,"featured_media":0,"template":"","tags":[],"cma_category":[],"cma_difficulty_level":[],"forum-tag":[365],"class_list":["post-18117","cma_thread","type-cma_thread","status-publish","hentry","forum-tag-api-endpoints-en","forum-languages-pt"],"_links":{"self":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/cma_thread\/18117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/cma_thread"}],"about":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/types\/cma_thread"}],"author":[{"embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/users\/492"}],"wp:attachment":[{"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/media?parent=18117"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/tags?post=18117"},{"taxonomy":"cma_category","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/cma_category?post=18117"},{"taxonomy":"cma_difficulty_level","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/cma_difficulty_level?post=18117"},{"taxonomy":"forum-tag","embeddable":true,"href":"https:\/\/developers.ila.cegid.com\/en\/wp-json\/wp\/v2\/forum-tag?post=18117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}