Error map

Type does not conform to protocol error: Type 'User' does not conform to protocol 'Decodable'

iOS · layer 1, On your device

Open the full error page →

Centre: this error. First ring: errors it is linked with (12). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

Type does not conform to protocol — error: Type 'User' does not conform to protocol 'Decodable' (iOS)Type does n…Cannot convert value of type — Swift: Cannot convert value of type 'X' to expected argument type 'Y' (iOS)Cannot convert valu…DecodingError — Swift DecodingError: keyNotFound / typeMismatch / valueNotFound / dataCorrupted (iOS)DecodingError'nil' requires a contextual type / Cannot infer type — error: 'nil' requires a contextual type (iOS)'nil' requires a co…Enum init(rawValue:) returns nil / Cannot initialize enum from value — DecodingError.dataCorrupted: Cannot initialize Status from invalid String value "pending_review" (iOS)Enum init(rawValue:…fatal: protocol error: bad pack header — fatal: protocol error: bad pack header (Git)fatal: protocol err…Missing return in a function expected to return — error: Missing return in a function expected to return 'Int' (iOS)Missing return in a…Cannot find 'x' in scope — error: Cannot find 'viewModel' in scope (iOS)Cannot find 'x' in …Missing argument for parameter / Extra argument in call — error: Missing argument for parameter 'id' in call (iOS)Missing argument fo…Cannot use instance member as a default parameter — error: cannot use instance member 'x' as a default parameter (iOS)Cannot use instance…Result of call is unused (warning) — warning: result of call to 'foo()' is unused (iOS)Result of call is u…DecodingError: Expected date string to be ISO8601-formatted — Expected date string to be ISO8601-formatted. codingPath: [CodingKeys(stringValue: "createdAt")] (iOS)DecodingError: Expe…Argument of '#selector' refers to instance method that is not exposed to Objective-C — error: argument of '#selector' refers to instance method 'tap()' that is not exposed to Objective-C (iOS)Argument of '#selec…AttributeError — AttributeError: 'X' object has no attribute 'y' (Python)AttributeErrorClassCastException — java.lang.ClassCastException: class A cannot be cast to class B (Java)ClassCastExceptionTS7016 — TS7016: Could not find a declaration file for module 'x'. 'x.js' implicitly has an 'any' type. (Node.js)TS7016SyntaxError: JSON — SyntaxError: Unexpected token < in JSON at position 0 (JavaScript)SyntaxError: JSONJSONDecodeError — json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) (Python)JSONDecodeErrorentity.parse.failed — API Error: Malformed JSON in request body (entity.parse.failed / JSON parse error) (API)entity.parse.failedType of expression is ambiguous — Swift: Type of expression is ambiguous without a type annotation (more context) (iOS)Type of expression …Value of optional type must be unwrapped — error: Value of optional type 'String?' must be unwrapped to a value of type 'String' (iOS)Value of optional t…Switch must be exhaustive — error: Switch must be exhaustive / add missing case: '.pending' (iOS)Switch must be exha…Index out of range — Swift: Fatal error: Index out of range (iOS)Index out of rangeCould not cast value of type — Swift: Could not cast value of type 'X' to 'Y' (iOS)Could not cast valu…is only available in iOS x or newer — Swift: 'X' is only available in iOS 16.0 or newer (iOS)is only available i…publickey — Git: Permission denied (publickey). fatal: Could not read from remote repository. (Git)publickeyHost key verification failed — Host key verification failed. fatal: Could not read from remote repository. (Git)Host key verificati…kex_exchange_identification — kex_exchange_identification: Connection closed by remote host (Git)kex_exchange_identi…Use of unresolved identifier — error: Use of unresolved identifier 'ProfileView' (iOS)Use of unresolved i…Ambiguous use of 'init' / trailing closure — error: ambiguous use of 'init(content:)' (iOS)Ambiguous use of 'i…'init' is inaccessible due to 'private' protection level — error: 'init' is inaccessible due to 'internal' protection level (iOS)'init' is inaccessi…No such module — Swift: No such module 'X' (module not found) (iOS)No such moduleunable to type-check this expression in reasonable time — Swift: The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions (iOS)unable to type-chec…Escaping closure captures mutating 'self' — Swift: Escaping closure captures mutating 'self' parameter (iOS)Escaping closure ca…error: gpg.ssh.allowedSignersFile needs to be configured — error: gpg.ssh.allowedSignersFile needs to be configured and exist for ssh signature verification (Git)error: gpg.ssh.allo…ITMS-91065: Missing signature for third-party SDK — ITMS-91065: Missing signature - Your app includes "Frameworks/X.framework", which includes X, an SDK that was identified in the documentation as a commonly used third-party SDK (iOS)ITMS-91065: Missing…requires explicit use of 'self' — Swift: Reference to property 'x' in closure requires explicit use of 'self' to make capture semantics explicit (iOS)requires explicit u…Cannot assign to value: 'x' is a 'let' constant — error: Cannot assign to value: 'count' is a 'let' constant (iOS)Cannot assign to va…'self' captured by a closure before all members were initialized — error: 'self' captured by a closure before all members were initialized (iOS)'self' captured by …Xcode 16 threading warning: Publishing changes from within view updates — Publishing changes from within view updates is not allowed, this will cause undefined behavior. (iOS)Xcode 16 threading …type 'Null' is not a subtype of type 'String' — Dart: type 'Null' is not a subtype of type 'String' in type cast (Flutter / Dart)type 'Null' is not …type '_InternalLinkedHashMap' is not a subtype of type 'List<dynamic>' — Dart: type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'List<dynamic>' in type cast (Flutter / Dart)type '_InternalLink…FormatException: Unexpected character — Dart: FormatException: Unexpected character (at character 1) <!DOCTYPE html> — jsonDecode of an HTML page (Flutter / Dart)FormatException: Un…Unrecognized selector sent to instance — -[UIViewController foo]: unrecognized selector sent to instance 0x600001 (iOS)Unrecognized select…EXC_BAD_ACCESS: message sent to deallocated instance — -[Foo bar]: message sent to deallocated instance 0x600000 (iOS)EXC_BAD_ACCESS: mes…

Directly related (12)

Cannot convert value of typeiOS

Swift: Cannot convert value of type 'X' to expected argument type 'Y'

The value’s type doesn’t match what the function or property expects.

DecodingErroriOS

Swift DecodingError: keyNotFound / typeMismatch / valueNotFound / dataCorrupted

JSONDecoder couldn’t map the JSON to your Codable type — a key is missing, a value has a different type or is null, or the data i…

'nil' requires a contextual type / Cannot infer typeiOS

error: 'nil' requires a contextual type

Swift can't infer the type of a bare `nil`.

Enum init(rawValue:) returns nil / Cannot initialize enum from valueiOS

DecodingError.dataCorrupted: Cannot initialize Status from invalid String value "pending_review"

The server sent an enum value your app doesn't know.

fatal: protocol error: bad pack headerGit

fatal: protocol error: bad pack header

Git received garbage instead of a pack, from a proxy or broken server.

Missing return in a function expected to returniOS

error: Missing return in a function expected to return 'Int'

A code path in your function ends without returning a value.

Cannot find 'x' in scopeiOS

error: Cannot find 'viewModel' in scope

The name isn't visible where you use it.

Missing argument for parameter / Extra argument in calliOS

error: Missing argument for parameter 'id' in call

A call doesn't match the function's signature.

Cannot use instance member as a default parameteriOS

error: cannot use instance member 'x' as a default parameter

Default parameter values can't reference `self`.

Result of call is unused (warning)iOS

warning: result of call to 'foo()' is unused

A function returns a value you ignore.

DecodingError: Expected date string to be ISO8601-formattediOS

Expected date string to be ISO8601-formatted. codingPath: [CodingKeys(stringValue: "createdAt")]

The date string doesn't match the decoder's strategy.

Argument of '#selector' refers to instance method that is not exposed to Objective-CiOS

error: argument of '#selector' refers to instance method 'tap()' that is not exposed to Objective-C

A Swift method used as a selector needs `@objc`.

Two steps away (32)

AttributeErrorPython

AttributeError: 'X' object has no attribute 'y'

You accessed an attribute or method that doesn’t exist on that object type.

ClassCastExceptionJava

java.lang.ClassCastException: class A cannot be cast to class B

An object was cast to a type it isn’t.

TS7016Node.js

TS7016: Could not find a declaration file for module 'x'. 'x.js' implicitly has an 'any' type.

The JavaScript package has no TypeScript types bundled and no @types package installed.

SyntaxError: JSONJavaScript

SyntaxError: Unexpected token < in JSON at position 0

`JSON.parse()` / `response.json()` received something that isn’t JSON — very often an HTML error page.

JSONDecodeErrorPython

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

The text passed to json.loads() isn’t JSON — at char 0 it’s usually empty or HTML.

entity.parse.failedAPI

API Error: Malformed JSON in request body (entity.parse.failed / JSON parse error)

The server couldn’t parse the request body as JSON, so it rejected the request before looking at any field.

Type of expression is ambiguousiOS

Swift: Type of expression is ambiguous without a type annotation (more context)

The compiler can’t infer which type you mean — often because of a typo or a wrong argument elsewhere in the expression.

Value of optional type must be unwrappediOS

error: Value of optional type 'String?' must be unwrapped to a value of type 'String'

You used an optional where a non-optional value is required.

Switch must be exhaustiveiOS

error: Switch must be exhaustive / add missing case: '.pending'

A `switch` doesn't cover every enum case.

Index out of rangeiOS

Swift: Fatal error: Index out of range

Code accessed an array index that doesn’t exist — empty arrays, off-by-one loops, or data changing while a table reloads.

Could not cast value of typeiOS

Swift: Could not cast value of type 'X' to 'Y'

A force cast (as!) failed because the object isn’t the expected type.

is only available in iOS x or neweriOS

Swift: 'X' is only available in iOS 16.0 or newer

You used an API that requires a newer iOS than your deployment target.

publickeyGit

Git: Permission denied (publickey). fatal: Could not read from remote repository.

SSH authentication to GitHub/GitLab/Bitbucket failed — no key, wrong key, or the key isn’t added to your account.

Host key verification failedGit

Host key verification failed. fatal: Could not read from remote repository.

SSH doesn’t trust the server’s host key — first connection in a non-interactive environment, or the key changed.

kex_exchange_identificationGit

kex_exchange_identification: Connection closed by remote host

The SSH connection was closed before the handshake — server overload, rate limiting, or a proxy/firewall interfering.

Use of unresolved identifieriOS

error: Use of unresolved identifier 'ProfileView'

Older compilers' wording for "cannot find in scope".

Ambiguous use of 'init' / trailing closureiOS

error: ambiguous use of 'init(content:)'

Overloads match the call equally.

'init' is inaccessible due to 'private' protection leveliOS

error: 'init' is inaccessible due to 'internal' protection level

A type's initializer isn't visible to the caller's module.

No such moduleiOS

Swift: No such module 'X' (module not found)

Xcode can’t find a Swift package, pod or framework you import.

unable to type-check this expression in reasonable timeiOS

Swift: The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions

A long expression (often in a SwiftUI body) has too many possible type combinations for the compiler — or hides a type error.

Escaping closure captures mutating 'self'iOS

Swift: Escaping closure captures mutating 'self' parameter

A mutating method of a struct tries to capture self in an escaping closure, which Swift forbids.

error: gpg.ssh.allowedSignersFile needs to be configuredGit

error: gpg.ssh.allowedSignersFile needs to be configured and exist for ssh signature verification

Git can sign with SSH, but verifying needs an allowed-signers file.

ITMS-91065: Missing signature for third-party SDKiOS

ITMS-91065: Missing signature - Your app includes "Frameworks/X.framework", which includes X, an SDK that was identified in the documentation as a commonly used third-party SDK

A listed SDK must ship with a valid signature.

requires explicit use of 'self'iOS

Swift: Reference to property 'x' in closure requires explicit use of 'self' to make capture semantics explicit

In an escaping closure inside a class, Swift requires self. to make the capture (and potential retain cycle) visible.

Cannot assign to value: 'x' is a 'let' constantiOS

error: Cannot assign to value: 'count' is a 'let' constant

You tried to change something declared with `let`.

'self' captured by a closure before all members were initializediOS

error: 'self' captured by a closure before all members were initialized

A closure uses `self` before all stored properties are set.

Xcode 16 threading warning: Publishing changes from within view updatesiOS

Publishing changes from within view updates is not allowed, this will cause undefined behavior.

A published value changed during view rendering.

type 'Null' is not a subtype of type 'String'Flutter / Dart

Dart: type 'Null' is not a subtype of type 'String' in type cast

A value that was `null` at runtime was cast or used as a non-nullable type, most often when parsing JSON.

type '_InternalLinkedHashMap' is not a subtype of type 'List<dynamic>'Flutter / Dart

Dart: type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'List<dynamic>' in type cast

JSON decoded to a Map but your code expected a List (or the other way round).

FormatException: Unexpected characterFlutter / Dart

Dart: FormatException: Unexpected character (at character 1) <!DOCTYPE html> — jsonDecode of an HTML page

`jsonDecode` received something that is not JSON, commonly an HTML error page, an empty string, or a plain-text message.

Unrecognized selector sent to instanceiOS

-[UIViewController foo]: unrecognized selector sent to instance 0x600001

A message was sent to an object that doesn't implement it.

EXC_BAD_ACCESS: message sent to deallocated instanceiOS

-[Foo bar]: message sent to deallocated instance 0x600000

An object was used after being freed.