400 Bad Request “Forbidden”

Estou a testar o Jasmin através da versão demo e já criei a aplicação e correspondente subscrição no nitrogen.

Através dos exemplos do Postman do repositório Github, já consigo obter o access token “client credentials”.

Mas, ao tentar utilizar outros endpoints como, por exemplo, o /billing/invoices disponível também nos Postman samples, recebo sempre um 400 Bad Request com message: “Forbidden”.

Estou a usar o Authorization em forma de Bearer Token.

Aqui vai o body:

GET /api/xxxxxx/xxxxxx-yyyy/billing/invoices HTTP/1.1 Host: my.jasminsoftware.com Content-Type: application/x-www-form-urlencoded Authorization: Bearer zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz User-Agent: PostmanRuntime/7.15.0 Accept: */* Cache-Control: no-cache Postman-Token: d0c5a19c-5448-4c19-b565-f09d80b7b883,3b40913b-1254-4e82-9370-4a9d0e49974d Host: my.jasminsoftware.com accept-encoding: gzip, deflate Connection: keep-alive cache-control: no-cache 

O que poderá estar errado ou a faltar?

400 Bad Request “message”: “Forbidden”

Estou a avaliar a API do Jasmin para uma possível integração, mas não estou a conseguir consumir a API.

Efetuei os passos seguintes:

  1. Registei uma Conta no JasminSoftware.com
  2. Acedi à área de Developer https://nitrogen.primaverabss.com/developer/dashboard
  3. Criei uma Subscrição de testes
  4. Criei uma App de testes
  5. Subscrevi a App de testes na Subscrição de testes
  6. Adicionei as coleções do Postman disponibilizadas no Github
  7. Obtive o access_token com sucesso
  8. Tentei consumir vários Endpoints usando o access_token mas sem sucesso
  9. Obtenho sempre a resposta { "message": "Forbidden" }

Log dos pedidos no Postman (informação sensível omitida)

Obtenção do Access Token:

POST /core/connect/token Content-Type: application/x-www-form-urlencoded User-Agent: PostmanRuntime/7.15.0 Accept: */* Cache-Control: no-cache Host: identity.primaverabss.com accept-encoding: gzip, deflate content-length: 120 Connection: keep-alive client_secret=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx&client_id=xxxxxx&scope=application&grant_type=client_credentials  HTTP/1.1 200 status: 200 Cache-Control: no-store, no-cache, max-age=0 Pragma: no-cache Transfer-Encoding: chunked Content-Type: application/json; charset=UTF-8 Content-Encoding: gzip Vary: Accept-Encoding Server: Kestrel Request-Context: appId=cid-v1:17e9b034-971e-4695-a061-0d7084a5a033 X-Powered-By: ASP.NET Date: Tue, 16 Jul 2019 10:05:22 GMT  {"access_token":"XYZ","expires_in":14400,"token_type":"Bearer"} 

Exemplo Lista Faturas

https://my.jasminsoftware.com/api/aaaaaa/aaaaaa-0002/billing/invoices/

GET /api/222870/222870-0002/billing/invoices/ Content-Type: application/json Authorization: Bearer XYZ User-Agent: PostmanRuntime/7.15.0 Accept: */* Cache-Control: no-cache Postman-Token: fc8bb4a6-5467-46f2-a2fe-84ac81a3a904 Host: my.jasminsoftware.com cookie: xxx accept-encoding: gzip, deflate Connection: keep-alive  HTTP/1.1 400 status: 400 Content-Type: application/json; charset=utf-8 Server: Microsoft-IIS/10.0 Request-Context: appId=cid-v1:07e06186-bc8d-4628-9f1a-465b9a0bb54e X-Powered-By: ASP.NET X-Powered-By: ARR/3.0 Date: Tue, 16 Jul 2019 10:10:23 GMT Content-Length: 30  { "message": "Forbidden" } 

Agradeço a ajuda.

Getting 403 forbidden error while trying to update CMS page from magento 1.7 admin

My site was up and run earlier. Now I am trying to update content from Magento admin and getting “Sorry [My ID], your request cannot proceed. For security reason, it was blocked and logged.” I am using Magento 1.7.02 version and PHP version 5.4.

Please let me know why I am getting this error.

I have included a custom JS file in my theme head.phtml. The files are included properly but JS not working.

My site URL is http://www.shecal.org/

Forbidden (403) CSRF verification failed. Request aborted.

Hi

I have fiber and am running a home server that points to my url zyngalu.com

I am learning php and have my first input form on my site. I use both Chrome and Firefox to check my site.

Chrome throws this error on average every 5th time I use the form. (see below)
I'm not too sure if chrome is doing this or Apache. Either way I would like to eliminate it.

My site does not use cookies…

Any help gratefully received.

[​IMG]

Santander Boleto Registrado via XML 403 Forbidden [pendente]

Estou criando uma integração de boletos registrados do santander, onde preciso consumir um sistema SOAP, o problema é que só obtenho o erro 403 Forbidden… Estou usando a linguagem C#..

tento obter o ticket, mas só da o erro 403 forbidden https://ymbdlb.santander.com.br/dl-ticket-services/TicketEndpointService

se é uma requisição SOAP, nao teria que ter o WSDL?

meu certificado esta em nome_do_certificado.cer (precisa transforma-lo em .pfx ou pem)???

Se alguém já conseguiu implementar essa funcionalidade, poderia me dar uma ajuda de como posso resolver esse problema??

Apply-PnPProvisioningTemplate : The remote server returned an error: (403) Forbidden

I am developing a script to create/update group/team sites from a SharePoint list. I have everything working, but I am struggling big time with authentication.

I use

Connect-PnPOnline -Url https://client.sharepoint.com/sites/testclientsite -UseWebLogin -Scopes "Group.ReadWrite.All","Directory.Read.All" 

In order to Apply-PnPProvisioningTemplate.

Anytime I am switching from the list and the newly created site to apply the template, I use

Connect-PnPOnline -Url https://client.sharepoint.com/sites/sharepointlist -UseWebLogin 

To connect to SP List of clients

Connect-PnPOnline -Url https://client.sharepoint.com/sites/newsite -UseWebLogin 

To connect to new site to apply template.

This works amazing through the first one or two sites, then I receive a

Apply-PnPProvisioningTemplate : The remote server returned an error: (403) Forbidden.

It is somewhat random. Sometimes it will make it through one or two sites. I have also had it work through 8 or so sites before it errors out. I am assuming it has something to do with the token expiring, but I am not positive. Any help would be appreciated.

weblogic and spring 403 Forbidden error page

I am using Google Translator right now. I am using Weblogic and springMVC. By the way, I set up 403Error Page in web.xml, but default forbidden page is executed for something outside WEB-INF folder.

After searching Google, I need to configure the weblogic.xml file. But I do not know how to set the file. I am using a window server. I’d like to know how to fix it.

I would be grateful if you set , and if so, how to set it up.