Skip to content

search()不能使用. #7

Open
Open
@xingkoo

Description

请问 seach() 方法 地址规范查询 使用时报错,

Exception 'ChinaDivisions\Exceptions\ResponseException' with message 'HSF 服务地址未找到:ReceiveServiceInvoker~serviceName=CNDZK.ADDRESS.QUERY.123,appName=cndzk_address_query,version=1.0.0,异常信息=HSF 服务地址未找到 traceId:0b521c8b15864945343516403e2d21'

我在 https://global.link.cainiao.com/ 注册了账号,新增了应用,
尝试修改 search的参数为:

$request = $this->client->build(
            'CNDZK_ADDRESS_QUERY',
            '********key************',
            [
                'address' => $fullAddress,
                'limit'   => intval($limit),
            ],
            '*************cp code******'
        );

后,直接报错

Exception 'ChinaDivisions\Exceptions\ResponseException' with message '非法的XML/JSON:request content from invoker is not invalid json. traceId:0b51153b15864938084385919e0587'

是我哪个地方操作错误了吗?

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions