aliyun / aliyun/openapi-sdk-php

Status code must be an integer value between 1xx and 5xx.

Open
#198 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
530
Forks
110
PR merge metrics
No merged PRs in 30d

Description

  • PHP 版本:7.4

  • 平台:无

  • 产品名称:mns

  • 产品版本:无

  • APIhttp://123456.mns.cn-hangzhou.aliyuncs.com/ (为安全,数据换成了123456)

  • 问题
    Uncaught InvalidArgumentException: Status code must be an integer value between 1xx and 5xx.

  • 调用行数:
    vendor/alibabacloud/dybaseapi/MNS/HttpHelper.php(64)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with vendor/alibabacloud/dybaseapi/MNS/HttpHelper.php at line 64 and reproduce the MNS request using PHP 7.4 and the reported endpoint. Trace the response status handling to determine why the exception is raised; done means the request no longer fails for a valid MNS response, with a regression test covering the case.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.