You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Windows Server环境Httpie调用Veracode API时JSON配置错误求助

Troubleshooting Httpie JSONDecodeError with Veracode API Call

Hey there, let's break down what's going on here and get this issue fixed for you!

Root Cause

Looking at your error stack trace, the core problem is invalid JSON content in Httpie's configuration file. The error specifically points to \\ci fs.nas1.us2.experian.corp\CitrixUPM\Folders\C63639A\AppData\Roaming\httpie\config.json — this file is either empty, corrupted, or contains non-JSON formatted text, which makes Httpie fail when trying to load its settings.

Step-by-Step Fixes

  • Inspect the problematic config file
    Navigate to the file path mentioned in the error and open config.json. Check if it’s empty, has random gibberish, or malformed JSON (like missing curly braces, trailing commas, or typos).

  • Reset or repair the config file

    • If the file is empty or unreadable: Simply delete it. Httpie will automatically generate a fresh, valid default configuration file the next time you run any Httpie command.
    • If there’s malformed JSON: Manually edit it to valid JSON (the simplest valid config is just {}) or delete the file entirely to let Httpie rebuild it from scratch.
  • Verify the fix
    After fixing or deleting the config file, re-run your Veracode API command:

    http --auth-type=veracode_hmac "https://analysiscenter.veracode.com/api/5.0/getappinfo.do" "app_id=="%1 > getappinfo.xml
    

    The config-related error should now be resolved.

Quick Extra Check

While you’re at it, make sure %1 in your command is being replaced with a valid Veracode app ID when you execute it — an invalid app ID would trigger a separate API error, but let’s get the config issue sorted first!

内容的提问来源于stack exchange,提问作者Kaustav Roy

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.14 08:50:29