hoppscotch/hoppscotch · error · Error
pm.collectionVariables.unset() is not supported in Hoppscotc
Error message
pm.collectionVariables.unset() is not supported in Hoppscotch (use environment or request variables instead)
What it means
Error "pm.collectionVariables.unset() is not supported in Hoppscotch (use environment or request variables instead)" thrown in hoppscotch/hoppscotch.
Source
Thrown at packages/hoppscotch-js-sandbox/src/bootstrap-code/post-request.js:4054
"pm.iterationData.toJSON() is not supported in Hoppscotch (Collection Runner feature)"
)
},
},
// Collection variables (unsupported)
collectionVariables: {
get: () => {
throw new Error(
"pm.collectionVariables.get() is not supported in Hoppscotch (use environment or request variables instead)"
)
},
set: () => {
throw new Error(
"pm.collectionVariables.set() is not supported in Hoppscotch (use environment or request variables instead)"
)
},
unset: () => {
throw new Error(
"pm.collectionVariables.unset() is not supported in Hoppscotch (use environment or request variables instead)"
)
},
has: () => {
throw new Error(
"pm.collectionVariables.has() is not supported in Hoppscotch (use environment or request variables instead)"
)
},
clear: () => {
throw new Error(
"pm.collectionVariables.clear() is not supported in Hoppscotch (use environment or request variables instead)"
)
},
toObject: () => {
throw new Error(
"pm.collectionVariables.toObject() is not supported in Hoppscotch (use environment or request variables instead)"
)
},View on GitHub (pinned to 1acb8a3a75)
When it happens
Trigger: Thrown at packages/hoppscotch-js-sandbox/src/bootstrap-code/post-request.js:4054 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of hoppscotch/hoppscotch@1acb8a3a75 (2026-08-12).
Data as JSON: /api/errors/6b3944afd5b85360.
Report an issue: GitHub.