billions-minister-2901
02/22/2024, 4:10 PMchilly-king-10285
02/22/2024, 4:10 PMchilly-king-10285
02/22/2024, 4:10 PMbillions-minister-2901
02/22/2024, 4:21 PMno value given for required property services
when attempting to apply an update. I literally just downloaded my config, then attempted to apply without making changes. @chilly-king-10285chilly-king-10285
02/22/2024, 4:22 PMchilly-king-10285
02/22/2024, 4:22 PMno value given for required property services
indicates that the services
property is missing in your configuration file. This property is required for the configuration to be valid. In the configuration file, the services
property should be an object that contains the configuration for each service. For example: json { "services": { "identity": { "config": ... } } }
If you're sure that your configuration file is correct, there might be an issue with the way you're applying the update. When using the Ory CLI to apply the update, make sure you're using the correct command: bash ory update project <your-project-id> --file config.json
Replace <your-project-id>
with the ID of your project and config.json
with the path to your configuration file. If you're still having issues, please refer to the [Ory documentation](https://www.ory.sh/docs/guides/cli/config-with-cli) for more information on how to configure projects with the Ory CLI.billions-minister-2901
02/22/2024, 4:24 PMory update project {project_ID} --file {my file}
@chilly-king-10285chilly-king-10285
02/22/2024, 4:24 PMchilly-king-10285
02/22/2024, 4:24 PMservices
property is missing or not correctly formatted in your configuration file. However, since you mentioned that you're using the configuration file you just downloaded without making any changes, it's strange that you're encountering this error. Here are a few things you can try: 1. Double-check the contents of your configuration file. Make sure that it's valid JSON and that it includes the services
property. 2. Try using the patch
command instead of the update
command. The patch
command is used to change specific parts of the configuration without overwriting the entire config. Here's how you can use it: bash ory patch project <your-project-id> --replace '/services/identity/config/courier/smtp/from_name="My Custom E-Mail Name"'
Replace <your-project-id>
with the ID of your project and the part after =
with the configuration you want to update. 3. If none of the above solutions work, it might be a bug in the Ory CLI. In this case, I recommend reaching out to the Ory community or opening an issue on the [Ory GitHub page](https://github.com/ory). For more information on how to use the Ory CLI, please refer to the [Ory documentation](https://www.ory.sh/docs/cli/ory-update-project).billions-minister-2901
02/22/2024, 4:30 PMvalue for /courier/from_name must be valid JSON but got: Pudgy Penguins Dev`
PS C:\Users\zachi\WebstormProjects\Pudgy Penguins\pudgy-world\pudgy-auth\apps\web> ory patch project 42284315-3902-4db5-b240-ceb3f7b5b2ed --replace `/courier/from_name="Pudgy Penguins Dev"`
chilly-king-10285
02/22/2024, 4:30 PMchilly-king-10285
02/22/2024, 4:30 PM--replace
flag. In the ory patch project
command, the path should be specified relative to the services/identity/config
key. So, if you're trying to change the from_name
under courier/smtp
, the correct command would be: bash ory patch project 42284315-3902-4db5-b240-ceb3f7b5b2ed --replace '/services/identity/config/courier/smtp/from_name="Pudgy Penguins Dev"'
Please replace 42284315-3902-4db5-b240-ceb3f7b5b2ed
with your project ID and "Pudgy Penguins Dev"
with the name you want to use. For more information on how to use the ory patch project
command, please refer to the [Ory documentation](https://www.ory.sh/docs/cli/ory-patch-project).billions-minister-2901
02/22/2024, 4:31 PMchilly-king-10285
02/22/2024, 4:31 PMchilly-king-10285
02/22/2024, 4:32 PM--replace
flag. In the ory patch project
command, the value after the =
sign is interpreted as raw JSON. For string values, you need to use the following format: /path/to/key="my string"
. So, if you're trying to change the from_name
under courier/smtp
, the correct command would be: bash ory patch project 42284315-3902-4db5-b240-ceb3f7b5b2ed --replace '/services/identity/config/courier/smtp/from_name="Pudgy Penguins Dev"'
Please replace 42284315-3902-4db5-b240-ceb3f7b5b2ed
with your project ID and "Pudgy Penguins Dev"
with the name you want to use. For more information on how to use the ory patch project
command and the correct format for different data types, please refer to the [Ory documentation](https://www.ory.sh/docs/guides/cli/config-with-cli#patch-configuration).billions-minister-2901
02/22/2024, 4:33 PMchilly-king-10285
02/22/2024, 4:33 PMchilly-king-10285
02/22/2024, 4:34 PM--replace
flag. In the ory patch project
command, the value after the =
sign is interpreted as raw JSON. For string values, you need to use the following format: /path/to/key="my string"
. So, if you're trying to change the from_name
under courier/smtp
, the correct command would be: bash ory patch project 42284315-3902-4db5-b240-ceb3f7b5b2ed --replace '/services/identity/config/courier/smtp/from_name="Pudgy Penguins Dev"'
Please replace 42284315-3902-4db5-b240-ceb3f7b5b2ed
with your project ID and "Pudgy Penguins Dev"
with the name you want to use. For more information on how to use the ory patch project
command and the correct format for different data types, please refer to the [Ory documentation](https://www.ory.sh/docs/guides/cli/config-with-cli#patch-configuration).billions-minister-2901
02/22/2024, 4:45 PMory patch project 42284315-3902-4db5-b240-ceb3f7b5b2ed --replace '/services/identity/config/courier/smtp/from_name="My Custom E-Mail Name"'
chilly-king-10285
02/22/2024, 4:45 PMchilly-king-10285
02/22/2024, 4:46 PMory patch project
command. The command you're using seems to be correct according to the [Ory documentation](https://www.ory.sh/docs/guides/cli/config-with-cli#patch-configuration). However, the error message you're seeing suggests that the JSON value you're trying to patch is not being recognized as valid. This could be due to a bug in the Ory CLI or an issue with the Ory server. Here are a few things you can try: 1. Make sure you're using the latest version of the Ory CLI. You can update the CLI by running ory self-update
. 2. Try running the command with a different project ID or a different value for from_name
to see if the issue is specific to your current project or value. 3. If you're still having issues, it might be a bug in the Ory CLI or an issue with the Ory server. In this case, I recommend reaching out to the Ory community or opening an issue on the [Ory GitHub page](https://github.com/ory). I hope this helps! Let me know if you have any other questions.