Skip to content

ERROR - Could not find material type #47

@MikeoftheLibrary

Description

@MikeoftheLibrary

I am setting up the order import tool and have run into a snag. During start up, it can't seem to find the material type set in the import.properties file. When I run start.jar, all of the checks pass except for material type:

ERROR [main] - materialType: Could not find material type by the name [physical]
ERROR [main] - FAILED TO START SERVICE: ONE OR MORE LOOKUPS OF UUIDS FOR CODES/NAMES FAILED.

The credentials are correct, the user the app runs on has the correct permissions, and the material type does exist. What am I missing? I cloned the Github repo and so should be on the latest version. Here is my import.properties file:

baseOkapiEndpoint = https://okapi-skidmore.folio.ebsco.com
okapi_username = <redacted>
okapi_password = <redacted>
tenant = fs00001051
permELocation = Electronic Resource
permLocation = On Order -- Item not yet in library
fiscalYearCode = FY2122
textForElectronicResources = Electronic Resource
noteType = General note
materialType = physical
purchaseOrderUnit = record

uploadFilePath = /var/tmp/folio-order-import

onValidationErrors = skipFailed
onIsbnInvalid = removeIsbn

tzTimeZone = America/New_York
folioUiUrl = https://skidmore.folio.ebsco.com/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions