Why is this GAE Endpoints v2 REST API call failing? - java

I have the following API defined in my config spec:
"paths": {
"/handler/v1/fetch/{mode}": {
"post": {
"operationId": "ApihandlerFetch",
"parameters": [
{
"name": "mode",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "y",
"in": "query",
"required": false,
"type": "integer",
"format": "int32"
},
{
"name": "m",
"in": "query",
"required": false,
"type": "integer",
"format": "int32"
},
{
"name": "d",
"in": "query",
"required": false,
"type": "integer",
"format": "int32"
}
],
The following curl requests fails with the error message "global.badrequest"
curl -d '{}' "https://xxxxx.appspot.com/_ah/api/handler/v1/fetch/latest"
"error": {
"errors": [
{
"domain": "global",
"reason": "badRequest",
"message": "java.lang.IllegalArgumentException"
}
],
"code": 400,
"message": "java.lang.IllegalArgumentException"
}
}
It however works when the other query parameters are defined with a value like so:
curl -d '' "https://xxxx.appspot.com/_ah/api/handler/v1/fetch/date?y=2017&m=11&d=27"
Did I misunderstood the whole idea of a Query Parameter in Google App Engine Endpoints framework v2, and that the parameters should be part of the URL regardless if they have a value or not (ie: http://...?y=&m=&d).

Related

Optional Properties json schema

the items are only required for the order_type: ORDER, but I can't make a conditional that only requires this property for that specific case, that is, if any order_type different from ORDER comes without items it can be validated correctly, but if an ORDER comes without them I mark it incorrectly.
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://json-schema.org/draft-07/schema#",
"title": "Validaciones sobre el esquema Order",
"type": "object",
"properties": {
"warehouse_id": {
"type": [
"string"
]
},
"operation_type": {
"type": [
"string"
]
},
"order_id": {
"type": [
"number"
]
},
"items": {
"type": [
"array"
],
"minItems": 1,
"items": {
"type": [
"object"
],
"properties": {
"sku": {
"type": [
"string"
],
"minLength": 1,
"maxLength": 50
},
"quantity": {
"type": [
"integer"
],
"minimum": 1
}
},
"required": [
"sku",
"quantity"
],
"additionalProperties": false
}
},
"attributes": {
"type": [
"object"
],
"properties": {
"order_type": {
"type": [
"string"
],
"enum": [
"ORDER",
"TRANSFER",
"WITHDRAWAL",
"DISPOSAL",
"FRESH"
]
},
"etd": {
"type": [
"string"
],
"pattern": "^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(?:T)(0[0-9]|1[0-9]|2[0-3]):(0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]):(0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9])(?:Z)$"
},
"volume": {
"type": [
"integer", "null"
],
"minimum": 0
},
"typology": true
},
"required": [
"order_type"
],
"allOf": [
{
"if": {
"properties": {
"order_type": {
"const": "ORDER"
}
},
"required": [
"order_type",
"items"
]
},
"then": {
"properties": {
"order_type": true,
"etd": true,
"volume": true,
"typology": {
"type": [
"string", "null"
],
"enum": [
"CONVEYABLE",
"NON_CONVEYABLE"
]
}
},
"required": [
"order_type",
"etd"
],
"additionalProperties": false
}
},
{
"if": {
"properties": {
"order_type": {
"const": "TRANSFER"
}
},
"required": [
"order_type"
]
},
"then": {
"properties": {
"order_type": true,
"etd": true,
"volume": true
},
"required": [
"order_type",
"etd"
],
"additionalProperties": false
}
},
{
"if": {
"properties": {
"order_type": {
"const": "WITHDRAWAL"
}
},
"required": [
"order_type"
]
},
"then": {
"properties": {
"order_type": true,
"etd": true,
"volume": true
},
"required": [
"order_type",
"etd"
],
"additionalProperties": false
}
},
{
"if": {
"properties": {
"order_type": {
"const": "DISPOSAL"
}
},
"required": [
"order_type"
]
},
"then": {
"properties": {
"order_type": true,
"etd": true,
"volume": true
},
"required": [
"order_type",
"etd"
],
"additionalProperties": false
}
}
]
}
},
"required": [
"warehouse_id",
"operation_type",
"attributes"
],
"additionalProperties": false
}
try to make a conditional with an if at the end of the properties like this
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://json-schema.org/draft-07/schema#",
"title": "Validaciones sobre el esquema Order",
"type": "object",
"properties": {
"warehouse_id": {
"type": [
"string"
]
},
"operation_type": {
"type": [
"string"
]
},
"order_id": {
"type": [
"number"
]
},
"items": {
"type": [
"array"
],
"minItems": 1,
"items": {
"type": [
"object"
],
"properties": {
"sku": {
"type": [
"string"
],
"minLength": 1,
"maxLength": 50
},
"quantity": {
"type": [
"integer"
],
"minimum": 1
}
},
"required": [
"sku",
"quantity"
],
"additionalProperties": false
}
},
"attributes": {
"type": [
"object"
],
"properties": {
"order_type": {
"type": [
"string"
],
"enum": [
"ORDER",
"TRANSFER",
"WITHDRAWAL",
"DISPOSAL",
"FRESH"
]
},
"etd": {
"type": [
"string"
],
"pattern": "^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(?:T)(0[0-9]|1[0-9]|2[0-3]):(0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]):(0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9])(?:Z)$"
},
"volume": {
"type": [
"integer", "null"
],
"minimum": 0
},
"typology": true
},
"required": [
"order_type"
],
"allOf": [
{
"if": {
"properties": {
"order_type": {
"const": "ORDER"
}
},
"required": [
"order_type",
"items"
]
},
"then": {
"properties": {
"order_type": true,
"etd": true,
"volume": true,
"typology": {
"type": [
"string", "null"
],
"enum": [
"CONVEYABLE",
"NON_CONVEYABLE"
]
}
},
"required": [
"order_type",
"etd"
],
"additionalProperties": false
}
},
{
"if": {
"properties": {
"order_type": {
"const": "TRANSFER"
}
},
"required": [
"order_type"
]
},
"then": {
"properties": {
"order_type": true,
"etd": true,
"volume": true
},
"required": [
"order_type",
"etd"
],
"additionalProperties": false
}
},
{
"if": {
"properties": {
"order_type": {
"const": "WITHDRAWAL"
}
},
"required": [
"order_type"
]
},
"then": {
"properties": {
"order_type": true,
"etd": true,
"volume": true
},
"required": [
"order_type",
"etd"
],
"additionalProperties": false
}
},
{
"if": {
"properties": {
"order_type": {
"const": "DISPOSAL"
}
},
"required": [
"order_type"
]
},
"then": {
"properties": {
"order_type": true,
"etd": true,
"volume": true
},
"required": [
"order_type",
"etd"
],
"additionalProperties": false
}
}
]
}
},
"allOf": [
{
"if": {
"properties": {
"order_type": {
"const": "ORDER"
}
},
"required": [
"order_type"
]
},
"then": {
"properties": {
"items": true,
"order_type": true,
"etd": true,
"volume": true
},
"required": [
"order_type",
"etd",
"items"
],
"additionalProperties": false
}
}
],
"required": [
"warehouse_id",
"operation_type",
"attributes"
],
"additionalProperties": false
}
this request should be marked as incorrect, cause dont have any items, that are required:
{
"warehouse_id": "ARTW01",
"operation_type": "outbound",
"order_id": 41789301078,
"attributes": {
"volume": 1350,
"etd": "2022-11-11T18:25:00Z",
"order_type": "ORDER"
}
}
Here's the assertion you described with all the unrelated parts removed. The trick is that the if need to describe the nested path to the value being checked.
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"attributes": {
"type": "object",
"properties": {
"order_type": { "enum": ["ORDER", "TRANSFER", "WITHDRAWAL", "DISPOSAL", "FRESH"] }
},
"required": ["order_type"]
},
"items": { "type": "array" }
},
"allOf": [
{
"if": {
"type": "object",
"properties": {
"attributes": {
"type": "object",
"properties": {
"order_type": { "const": "ORDER" }
},
"required": ["order_type"]
}
},
"required": ["attributes"]
},
"then": { "required": ["items"] }
}
]
}

Error while inserting data into big query

I am getting the following error while inserting data programmatically into big query:
Conversion from bool to std::string is unsupported
I am new to BigQuery, So not sure what that means.
Here is the json that I am trying to insert:
{
"metadata": {
"projectName": "mtech-commonsvc-checkout-poc",
"dataSet": "
",
"tableName": "ARCHIVED_MESSAGE",
"clientId": "OES-GCP",
"transactionId": "11111898989",
"operationName": "INSERT",
"timeStamp": "2022-01-17T06:47:04.029257",
"sourceTableColumnCount": "50",
"callbackUrl": null,
"IS_DEL":null,
"GBQ_PARTITION_DATE": "2022-01-17T06:47:04.029257",
"GBQ_CREATED_TS":"2022-01-17T06:47:04.029257",
"ENVNAME":"DEV"
},
"data": [
...
...
...
{
"name": "MAIL_TEXT",
"value": null,
"type": "STRING"
},
{
"name": "MAIL_HTML",
"value": null,
"type": "STRING"
},
{
"name": "MESSAGE_RECEIVED_TIME",
"value": "2022-01-17T06:47:04.029257",
"type": "TIMESTAMP"
},
{
"name": "CREATED",
"value": "2022-01-17T06:47:04.029257",
"type": "TIMESTAMP"
},
{
"name": "LAST_UPDATED",
"value": "2022-01-17T06:47:04.029257",
"type": "TIMESTAMP"
},
{
"name": "MAIL_DELIVERY_TYPE",
"value": "E",
"type": "STRING"
},
{
"name": "ORIGINAL_MESSAGE_TEXT",
"value": null,
"type": "STRING"
},
{
"name": "ENHANCE_PAYLOAD",
"value": null,
"type": "STRING"
}
...
...
]
}
Any suggestions on how to debug this? I couldn't find anything specific to this error online.
The error, though, mentions the field is_del, which is present in JSON. I tried removing that
but still got the same error.

how to generate classes out of the json schema

I have a json schema from which I need to generate java classes
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://schema.softsense.io/analysis/vulnerabilities/v1alpha1/vulnerabilities.json",
"title": "Vulnerabilities",
"description": "SoftSense Vulnerabilities analysis schema v1alpha3",
"type": "object",
"allOf": [ { "$ref": "https://schema.softsense.io/analysis/v1alpha3/base.json" } ],
"properties": {
"vulnerabilities": {
"items": {
"$ref": "#/definitions/Vulnerability"
},
"type": "array"
}
},
"oneOf": [{ "required": ["vulnerabilities"] }, { "required": ["error"] }],
"definitions": {
"Vulnerability": {
"required": [
"id",
"description",
"sources"
],
"properties": {
"id": {
"description": "Identifier for the vulnerability, such as a CVE identifier (CVE-2021-12345).",
"type": "string"
},
"published": {
"description": "UTC time when the vulnerability was published",
"type": "string",
"format": "date-time"
},
"updated": {
"description": "UTC time when the vulnerability was updated",
"type": "string",
"format": "date-time"
},
"description": {
"description": "Description of the vulnerability",
"type": "string"
},
"sources": {
"description": "The collection of backing vulnerability sources that listed this vulnerability for the software component",
"items": {
"type": "string"
},
"type": "array"
},
"cwes": {
"description": "The collection of Common Weakness Enumeration (CWE) identifiers that characterize the vulnerability.",
"items": {
"$ref": "#/definitions/CWE"
},
"type": "array"
},
"references": {
"description": "External URLs related to the vulnerability, such as issue trackers, mailing list discussions, commits, or patches.",
"items": {
"$ref": "#/definitions/Reference"
},
"type": "array"
},
"impact": {
"description": "What impact this vulnerability has",
"$ref": "#/definitions/Impact"
}
},
"type": "object"
},
"Impact": {
"properties": {
"metricV3": {
"$ref": "#/definitions/ImpactMetricV3"
},
"metricV2": {
"$ref": "#/definitions/ImpactMetricV2"
},
"*": {
"type": "object"
}
},
"type": "object"
},
"ImpactMetricV3": {
"properties": {
"cvssV3": {
"$ref": "#/definitions/CVSSv3"
},
"exploitabilityScore": {
"type": "number"
},
"impactScore": {
"type": "number"
}
}
},
"CVSSv3": {
"required": [
"version",
"vectorString",
"baseScore",
"baseSeverity"
],
"properties": {
"version": {
"type": "string"
},
"vectorString": {
"type": "string"
},
"attackVector": {
"type": "string"
},
"attackComplexity": {
"type": "string"
},
"privilegesRequired": {
"type": "string"
},
"userInteraction": {
"type": "string"
},
"scope": {
"type": "string"
},
"confidentialityImpact": {
"type": "string"
},
"integrityImpact": {
"type": "string"
},
"availabilityImpact": {
"type": "string"
},
"baseScore": {
"type": "number"
},
"baseSeverity": {
"type": "string"
},
"exploitCodeMaturity": {
"type": "string"
},
"remediationLevel": {
"type": "string"
},
"reportConfidence": {
"type": "string"
},
"temporalScore": {
"type": "number"
},
"temporalSeverity": {
"type": "string"
},
"confidentialityRequirement": {
"type": "string"
},
"integrityRequirement": {
"type": "string"
},
"availabilityRequirement": {
"type": "string"
},
"modifiedAttackVector": {
"type": "string"
},
"modifiedAttackComplexity": {
"type": "string"
},
"modifiedPrivilegesRequired": {
"type": "string"
},
"modifiedUserInteraction": {
"type": "string"
},
"modifiedScope": {
"type": "string"
},
"modifiedConfidentialityImpact": {
"type": "string"
},
"modifiedIntegrityImpact": {
"type": "string"
},
"modifiedAvailabilityImpact": {
"type": "string"
},
"environmentalScore": {
"type": "number"
},
"environmentalSeverity": {
"type": "string"
}
},
"type": "object"
},
"ImpactMetricV2": {
"required": [
"cvssV2",
"severity",
"exploitabilityScore",
"impactScore",
"obtainAllPrivilege",
"obtainUserPrivilege",
"obtainOtherPrivilege",
"userInteractionRequired"
],
"properties": {
"cvssV2": {
"$ref": "#/definitions/CVSSv2"
},
"severity": {
"type": "string"
},
"exploitabilityScore": {
"type": "number"
},
"impactScore": {
"type": "number"
},
"acInsufInfo": {
"type": "boolean"
},
"obtainAllPrivilege": {
"type": "boolean"
},
"obtainUserPrivilege": {
"type": "boolean"
},
"obtainOtherPrivilege": {
"type": "boolean"
},
"userInteractionRequired": {
"type": "boolean"
}
},
"type": "object"
},
"CVSSv2": {
"required": [
"version",
"vectorString",
"baseScore"
],
"properties": {
"version": {
"type": "string"
},
"vectorString": {
"type": "string"
},
"accessVector": {
"type": "string"
},
"accessComplexity": {
"type": "string"
},
"authentication": {
"type": "string"
},
"confidentialityImpact": {
"type": "string"
},
"integrityImpact": {
"type": "string"
},
"availabilityImpact": {
"type": "string"
},
"baseScore": {
"type": "number"
},
"exploitability": {
"type": "string"
},
"remediationLevel": {
"type": "string"
},
"reportConfidence": {
"type": "string"
},
"temporalScore": {
"type": "number"
},
"collateralDamagePotential": {
"type": "string"
},
"targetDistribution": {
"type": "string"
},
"confidentialityRequirement": {
"type": "string"
},
"integrityRequirement": {
"type": "string"
},
"availabilityRequirement": {
"type": "string"
},
"environmentalScore": {
"type": "number"
}
},
"type": "object"
},
"CWE": {
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
}
},
"type": "object"
},
"Reference": {
"required": [
"url"
],
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
}
}
I am trying to use the jsonschema2pojo as under.
<plugin>
<groupId>org.jsonschema2pojo</groupId>
<artifactId>jsonschema2pojo-maven-plugin</artifactId>
<version>0.4.34</version>
<configuration>
<sourceDirectory>${basedir}/src/main/resources/schema</sourceDirectory>
<targetPackage>com.test.gen</targetPackage>
<useCommonsLang3>true</useCommonsLang3>
</configuration>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
For some reason I get the following error when i use mvn generate-sources
[ERROR] Failed to execute goal org.jsonschema2pojo:jsonschema2pojo-maven-plugin:1.1.1:generate (default) on project hsk: Execution default of goal org.jsonschema2pojo:jsonschema2pojo-maven-plugin:1.1.1:generate failed: String index out of range: 0 -> [Help 1]
Any help is highly appreciated
Regards,

How do I determine why the getters and setters of POJOs generated from an AVSC file are not present?

I am using the Maven Avro plugin to generate POJOs from an AVSC file. Unfortunately, the top-most class that is generated from this file - loanInitiate - does not appear to contain any of the getters and setters needed for the other structures within the schema.
The POJOs that are generated for the child nodes do have the expected getters and setters. For example, the Customer class is generated and has a getNameBase() method.
I have tried editing this file in a variety of ways - changing structure, etc. - but I keep running into situations where the format is not valid.
Why would some of the getters and setters be generated and not others?
The Avro schema file is defined as follows:
{
"fields": [
{
"name": "loanInitiate",
"type": [
{
"type": "record",
"name": "eventheader",
"fields": [
{
"name": "eventType",
"type": "string",
"doc": "Loan"
},
{
"name": "eventSubtype",
"type": "string",
"doc": "Initiate"
},
{
"name": "eventDateTime",
"type": "string"
},
{
"name": "eventGeneratedDateTime",
"type": "string"
},
{
"name": "eventCorrelationId",
"type": [
"string",
"null"
]
},
{
"name": "eventRequestId",
"type": [
"string",
"null"
]
},
{
"name": "eventSourceDescription",
"type": [
"string",
"null"
]
},
{
"name": "eventSource",
"type": [
"string",
"null"
],
"doc": "The producer of this message."
},
{
"name": "eventInitiator",
"type": [
"string",
"null"
]
},
{
"name": "eventBatchGroupId",
"type": [
"string",
"null"
],
"doc": "BatchGroupID represents the GUID value given to each individual message which is part of a single batch."
},
{
"name": "eventBatchRecordCountTotal",
"type": [
"string",
"null"
],
"doc": "BatchRecordCountTotal provides the total number of messages belonging to a single batch."
}
]
},
{
"type": "array",
"name": "customer",
"items": {
"name": "customer",
"type": "record",
"fields": [
{
"name": "nameBase",
"type": {
"type": "record",
"name": "nameBase",
"fields": [
{
"name": "givenName",
"type": "string"
},
{
"name": "otherGivenName",
"type": [
"string",
"null"
]
},
{
"name": "fullName",
"type": "string"
},
{
"name": "suffix",
"type": [
"string",
"null"
]
},
{
"name": "surname",
"type": "string"
},
{
"name": "titlePrefix",
"type": [
"string",
"null"
]
}
]
}
},
{
"name": "party",
"type": {
"type": "record",
"name": "party",
"fields": [
{
"name": "parentEntityId",
"type": "string",
"doc": "The value of this field should equal the value the id field of the parent object."
},
{
"name": "partyRole",
"type": {
"type": "record",
"name": "partyRole",
"fields": [
{
"name": "code",
"type": {
"name": "code",
"type": "enum",
"symbols": [
"INSD",
"OWNR",
"PPAY",
"RCP"
]
}
},
{
"name": "subCode",
"type": {
"name": "subCode",
"type": "enum",
"symbols": [
"PRMR",
"LIST",
"BEN",
"DRBR",
"JNT"
]
}
}
]
}
}
]
}
},
{
"name": "id",
"type": "string",
"doc": "This is the identifier for an instance of customer, which can be related to from other objects."
}
]
}
},
{
"name": "bankAccount",
"type": "record",
"doc": "This object represents the bank account information, required for loan disbursements via ACH.",
"fields": [
{
"name": "accountType",
"type": {
"name": "accountType",
"type": "enum",
"symbols": [
"CHKNG",
"SVNG"
]
}
},
{
"name": "fullName",
"type": "string"
},
{
"name": "bankName",
"type": "string"
},
{
"name": "accountNumber",
"type": "string"
},
{
"name": "routingNumber",
"type": "string"
}
]
},
{
"type": "record",
"name": "trackingeventdetails",
"fields": [
{
"name": "workEventIdent",
"type": [
"string",
"null"
],
"doc": "This field will be populated based on the creation of a tracking work event. This field value holds the key for that particular event."
},
{
"name": "applicationId",
"type": "string"
},
{
"name": "divisionCode",
"type": "string"
},
{
"name": "departmentCode",
"type": "string"
},
{
"name": "workEventNumber",
"type": "int"
},
{
"name": "longComment",
"type": "string"
},
{
"name": "actualEventDate",
"type": "string"
},
{
"name": "priorityCode",
"type": "string"
},
{
"name": "contactTypeCode",
"type": "string"
},
{
"name": "receivedDate",
"type": "string"
},
{
"name": "shortComment",
"type": "string"
},
{
"name": "lastUpdatedBy",
"type": "string"
},
{
"name": "loggedByIdent",
"type": "string"
},
{
"name": "resourceId",
"type": "string"
},
{
"name": "requestOrTypeCode",
"type": "string"
},
{
"name": "serviceChannelSourceCode",
"type": "string"
},
{
"name": "nigoCode",
"type": "string"
},
{
"name": "imageAvailableIndicator",
"type": "string"
},
{
"name": "completionIndicator",
"type": "string"
}
]
},
{
"type": "record",
"name": "policy",
"fields": [
{
"name": "id",
"type": "int"
},
{
"name": "number",
"type": "long"
},
{
"name": "agreementNumberPrefix",
"type": "string"
},
{
"name": "agreementNumberSuffix",
"type": "string"
},
{
"name": "adminSystem",
"type": "string"
}
]
},
{
"type": "record",
"name": "loantransactiondetails",
"doc": "This represents the values specific to the loan transaction.",
"fields": [
{
"name": "transactionAmount",
"type": "string",
"doc": "The amount of the loan."
},
{
"name": "transactionType",
"type": "string"
},
{
"name": "transferAmount",
"type": {
"name": "transferAmount",
"type": "enum",
"symbols": [
"Max",
"Other"
]
}
}
]
}
]
}
],
"type": "record",
"namespace": "com.stream.process",
"name": "loanInitiate"
}

Why do get this error when trying to lauch MC Failed to download file. minecraftforge-9.11.1.1345.jar?

I am currently working for the Crafting Dead as a developer and I need to make an installer for our mod. The installer had to download the latest cd mod from our download server, put the .jar in the mod folder and install forge 1.6.4 + add it in the launcher_profiles.json. I have made the installer in java and it works. When I try to start mc with forge 1.6.4 on windows, it works but it doesn't work on mac.
I get this error:
Failed to download file. minecraftforge-9.11.1.1345.jar
Name: minecraftforge-9.11.1.1345.jar
URL: http://files.minecraftforge.net/maven/net/minecraftforge/minecraftforge/9.11.1.1345/minecraftforge-9.11.1.1345.jar
Error details: HTTP 404: Not Found
Filename on disk: 17f7-dc92-6e47-f44b
Path: /var/folders/x0/k0n7yhy16214c5wjk2ydj0sh0000gn/T/17f7-dc92-6e47-f44b
Exists: false
I had to give the version a custom name. I have called it: CraftingDead so the user knows that that's the version of forge for our mod.
CraftingDead.json(the 1.6.4 version of forge that I have called CraftingDead)
{
"id": "CraftingDead",
"time": "2018-05-27T02:57:17+0000",
"releaseTime": "1960-01-01T00:00:00-0700",
"type": "release",
"minecraftArguments": "--username ${auth_player_name} --version ${version_name} --gameDir ${game_directory} --assetsDir ${assets_root} --assetIndex ${assets_index_name} --uuid ${auth_uuid} --accessToken ${auth_access_token} --userType ${user_type} --tweakClass net.minecraftforge.fml.common.launcher.FMLTweaker --versionType Forge",
"mainClass": "net.minecraft.launchwrapper.Launch",
"inheritsFrom": "1.6.4",
"jar": "1.6.4",
"logging": {},
"libraries": [
{
"name": "net.minecraftforge:minecraftforge:9.11.1.1345",
"url": "http://files.minecraftforge.net/maven/"
},
{
"name": "net.minecraft:launchwrapper:1.8",
"serverreq": true
},
{
"name": "org.ow2.asm:asm-all:5.2",
"url": "http://files.minecraftforge.net/maven/",
"checksums": [
"2ea49e08b876bbd33e0a7ce75c8f371d29e1f10a"
],
"serverreq": true,
"clientreq": true
},
{
"name": "jline:jline:2.13",
"url": "http://files.minecraftforge.net/maven/",
"checksums": [
"2d9530d0a25daffaffda7c35037b046b627bb171"
],
"serverreq": true,
"clientreq": false
},
{
"name": "com.typesafe.akka:akka-actor_2.11:2.3.3",
"url": "http://files.minecraftforge.net/maven/",
"checksums": [
"ed62e9fc709ca0f2ff1a3220daa8b70a2870078e",
"25a86ccfdb6f6dfe08971f4825d0a01be83a6f2e"
],
"serverreq": true,
"clientreq": true
},
{
"name": "com.typesafe:config:1.2.1",
"url": "http://files.minecraftforge.net/maven/",
"checksums": [
"f771f71fdae3df231bcd54d5ca2d57f0bf93f467",
"7d7bc36df0989d72f2d5d057309675777acc528b"
],
"serverreq": true,
"clientreq": true
},
{
"name": "org.scala-lang:scala-actors-migration_2.11:1.1.0",
"url": "http://files.minecraftforge.net/maven/",
"checksums": [
"dfa8bc42b181d5b9f1a5dd147f8ae308b893eb6f",
"8c9aaeeb68487ca519411a14068e1b4d69739207"
],
"serverreq": true,
"clientreq": true
},
{
"name": "org.scala-lang:scala-compiler:2.11.1",
"url": "http://files.minecraftforge.net/maven/",
"checksums": [
"56ea2e6c025e0821f28d73ca271218b8dd04926a",
"1444992390544ba3780867a13ff696a89d7d1639"
],
"serverreq": true,
"clientreq": true
},
{
"name": "org.scala-lang.plugins:scala-continuations-library_2.11:1.0.2",
"url": "http://files.minecraftforge.net/maven/",
"checksums": [
"87213338cd5a153a7712cb574c0ddd2edfee0386",
"0b4c1bf8d48993f138d6e10c0c144e50acfff581"
],
"serverreq": true,
"clientreq": true
},
{
"name": "org.scala-lang.plugins:scala-continuations-plugin_2.11.1:1.0.2",
"url": "http://files.minecraftforge.net/maven/",
"checksums": [
"1f7371605d4ba42aa26d3443440c0083c587b4e9",
"1ea655dda4504ae0a367327e2340cd3beaee6c73"
],
"serverreq": true,
"clientreq": true
},
{
"name": "org.scala-lang:scala-library:2.11.1",
"url": "http://files.minecraftforge.net/maven/",
"checksums": [
"0e11da23da3eabab9f4777b9220e60d44c1aab6a",
"1e4df76e835201c6eabd43adca89ab11f225f134"
],
"serverreq": true,
"clientreq": true
},
{
"name": "org.scala-lang:scala-parser-combinators_2.11:1.0.1",
"url": "http://files.minecraftforge.net/maven/",
"checksums": [
"f05d7345bf5a58924f2837c6c1f4d73a938e1ff0",
"a1cbbcbde1dcc614f4253ed1aa0b320bc78d8f1d"
],
"serverreq": true,
"clientreq": true
},
{
"name": "org.scala-lang:scala-reflect:2.11.1",
"url": "http://files.minecraftforge.net/maven/",
"checksums": [
"6580347e61cc7f8e802941e7fde40fa83b8badeb",
"91ce0f0be20f4a536321724b4b3bbc6530ddcd88"
],
"serverreq": true,
"clientreq": true
},
{
"name": "org.scala-lang:scala-swing_2.11:1.0.1",
"url": "http://files.minecraftforge.net/maven/",
"checksums": [
"b1cdd92bd47b1e1837139c1c53020e86bb9112ae",
"d77152691dcf5bbdb00529af37aa7d3d887b3e63"
],
"serverreq": true,
"clientreq": true
},
{
"name": "org.scala-lang:scala-xml_2.11:1.0.2",
"url": "http://files.minecraftforge.net/maven/",
"checksums": [
"7a80ec00aec122fba7cd4e0d4cdd87ff7e4cb6d0",
"62736b01689d56b6d09a0164b7ef9da2b0b9633d"
],
"serverreq": true,
"clientreq": true
},
{
"name": "lzma:lzma:0.0.1",
"serverreq": true
},
{
"name": "net.sf.jopt-simple:jopt-simple:5.0.3",
"serverreq": true
},
{
"name": "java3d:vecmath:1.5.2",
"clientreq": true,
"serverreq": true
},
{
"name": "net.sf.trove4j:trove4j:3.0.3",
"clientreq": true,
"serverreq": true
},
{
"name": "org.apache.maven:maven-artifact:3.5.3",
"url": "http://files.minecraftforge.net/maven/",
"serverreq": true,
"clientreq": true
}
]
}
launcher_profiles.json
{
"settings": {
"locale": "en-gb",
"showMenu": false
},
"launcherVersion": {
"name": "2.1.1433",
"format": 21,
"profilesFormat": 2
},
"clientToken": "23ad82ae7e480408308c753d702a71e6",
"profiles": {
"688638ad3da18e808138ba5f9a6f0b9d": {
"type": "latest-release",
"lastUsed": "1970-01-01T00:00:00.001Z"
},
"ab6e482ee930eac0998c885d4f8bb2d7": {
"type": "latest-snapshot",
"lastUsed": "1970-01-01T00:00:00.000Z"
},
"fcd7ab729dda024a8819b9670bd6e7b7": {
"name": "",
"type": "custom",
"created": "2018-11-03T22:50:44.406Z",
"lastUsed": "2018-11-03T22:53:23.137Z",
"lastVersionId": "1.6.4"
},
"CraftingDead": {
"name": "CraftingDead",
"type": "custom",
"created": "2018-09-10T15:18:56.115Z",
"lastUsed": "2018-11-04T21:04:44.020Z",
"lastVersionId": "CraftingDead"
},
"forge": {
"name": "forge",
"type": "custom",
"created": "2018-11-04T20:57:48.500Z",
"lastUsed": "2018-11-04T20:58:15.835Z",
"lastVersionId": "1.12.2-forge1.12.2-14.23.4.2705"
},
"2cf2d472774625afad6ebf1ad00c2c62": {
"name": "",
"type": "custom",
"created": "2018-11-04T20:58:07.500Z",
"lastUsed": "2018-11-04T21:01:25.313Z",
"lastVersionId": "1.12.2-forge1.12.2-14.23.4.2705"
}
},
}
Your error Error details: HTTP 404: Not Found indicates that you are requesting a resource not present on the server. This probably means the URL is wrong, this might also happen if file has been moved, or the file does no longer exist on the server.
Also the day before you asked this question there were reports on the minecraftforge server having problems which might not have been resolved till your request.
You might also want to change the URL's to use https instead of http, as, from what I can tell, it is planed to switch the servers to https only so your request will then fail again.

Categories

Resources