Comunidade

Ask a Question
Back to all

ERRO IP BLOQUEADO

Boa tarde, tudo bem ?

estou tentando fazer a integração com meu sistema aqui e parei em uma parte que realmente não tenho o que fazer quando faço a cotação de frete no endpoint https://quotation-apigateway.rte.com.br/api/v1/gera-cotacao.

Dados do JSON:

Array
(
[OriginZipCode] => 87025310
[OriginCityId] => 6308
[DestinationZipCode] => 87025810
[DestinationCityId] => 6308
[TotalWeight] => 10.00
[EletronicInvoiceValue] => 39.60
[CustomerEmail] => [email protected]
[ContactName] => PAULO SERGIO BUENO KRAKER
[ContactPhoneNumber] => (48) 43215-678
[TotalPackages] => 1
[ReceiverCpfcnp] => 40459124000154
[CustomerTaxIdRegistration] => 18206885005
[Packs] => Array
(
[0] => Array
(
[AmountPackages] => 1
[Weight] => 10
[Length] => 10
[Height] => 10
[Width] => 10
)

    )

)


Resposta da API:

stdClass Object
(
    [status] => 0
    [msg] => 
⚠️ Os erros abaixo foram retornados diretamente pela integração e impedem o envio ou recebimento de dados deste registro.
🔧 Para continuar o processo, é necessário corrigir essas inconsistências no sistema da integração.
HTTP OK: 200

Endpoint: https://quotation-apigateway.rte.com.br/api/v1/gera-cotacao
Resposta inválida:
<html>

    <head>

        <meta charset="utf-8">

        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

        <meta http-equiv="x-ua-compatible" content="ie=edge">

        <title>Citrix Web Application Error Page</title>

        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.5/css/bootstrap.min.css" integrity="sha384-AysaV+vQoT3kOAXZkl02PThvDr8HYKPZhNT5h/CXfBThSRXQ6jW5DO2ekP5ViFdi" crossorigin="anonymous">

	</style>

    </head>

    <body>

	<div class="container bg-light">

  <button type="button" class="btn btn-danger btn-lg btn-block"><h2>Access Denied</h2></button>

	<div class="container">

</div>



<br> <br> <br> <br> <br>

<h3><b>Access Denied</b></h3>

<h4> The access is restricted based on your IP/Location. 

<br>Please contact site administrator with the below Transaction-ID </h4>



<br>

  <br>

   <br>

   <h6>

Transaction ID = 0133fc5d-c731-1699-9b07-005056aed76f

</h6>

    </body>

</html>

retorna um uma pagina em HTML falando de bloqueio de IP algo assim, queria saber o que fazer pra resolver isso.

Outra coisa tambem a todo momento quando tenta pegar um token ou alguma requisição qualquer da erro:

Erro cURL: Could not resolve host: quotation-apigateway.rte.com.br

cURL errno: 6

HTTP ERRO: 0

Endpoint: https://quotation-apigateway.rte.com.br/token

Queria saber se isso normal, vi que é algo relacionado o DNS.

fico no aguardo, obrigado.