stavarengo / php-sigep

PHP client library for the Brazilian Post Office Web Service. Integração com Web Service do Correios. Consulta preços e prazos, imprime etiquetas e PLP, etc.
https://phpsigep.stavarengo.me
MIT License
363 stars 249 forks source link

Erro em request de logística reversa #491

Closed marciovalim closed 2 years ago

marciovalim commented 2 years ago

Quando tento solicitar uma postagem reversa, recebo o seguinte erro: "PhpSigep\Services\Result Object ( [isSoapFault:protected] => 1 [errorCode:protected] => 0 [errorMsg:protected] => Unauthorized [result:protected] => [soapFault:protected] => [_failIfAtributeNotExiste:protected] => 1 )"

Params: 2022-01-03 18:23:58 Array ( [idCorreiosUsuario] => xxxxxxxxx [idCorreiosSenha] => xxxxxxx [usuario] => xxxxxxx [senha] => xxxxxxxx [codAdministrativo] => xxxxxx [numeroContrato] => xxxxx [cartaoPostagem] => xxxxx [cnpjEmpresa] => xxxxxx [destinatario] => Array ( [nome] => xxxxxx [email] => xxxxxxx [logradouro] => xxxxxx [numero] => xxxx [bairro] => xxxxx [cidade] => xxx [uf] => SP [cep] => xxxxxx )

[coletas_solicitadas] => Array
    (
        [tipo] => A
        [ag] => 10
        [ar] => 1
        [remetente] => Array
            (
                [numeroContrato] => xxxxxxx
                [diretoria] => Array
                    (
                        [numero] => xxxxxx
                        [nome] => DR - Rio de Janeiro
                        [sigla] => RJ
                    )

                [codigoAdministrativo] => xxxxxx
                [nome] => Márcio Valim
                [logradouro] => xxxxxxx
                [numero] => xxxx
                [bairro] => xxxxx
                [cep] => xxxxx
                [cidade] => xxxxx
                [uf] => RJ
                [email] => xxxxxxxx
                [identificacao] => xxxxx
                [sms] => N
            )

        [obj_col] => Array
            (
                [0] => Array
                    (
                        [item] => 1
                        [desc] => xxxxxxx
                        [id] => xxxxxx
                    )

            )

    )

)

Obs: ocultei os dados importantes com xxxxx

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.

stale[bot] commented 2 years ago

This issue has been automatically closed because it has not had any recent activity. If you have a question or comment, please open a new issue.